package app

import (
	"fmt"
	"os/exec"
)

type Command struct {
}

func (c *Command) Bash(sh string) string {
	out, err := exec.Command("bash", sh).Output()
	if err != nil {
		return fmt.Sprintf(err.Error())
	}
	return string(out)
}
